Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialogue uses standard tracing tags #1216

Merged
merged 2 commits into from
Apr 21, 2021
Merged

Conversation

carterkozak
Copy link
Contributor

Unfortunately dialogue doesn't make it easy to discover the
endpoint path template, we may wish to expose it in the future.

==COMMIT_MSG==
Dialogue uses standard tracing tags
==COMMIT_MSG==

Unfortunately dialogue doesn't make it easy to discover the
endpoint path template, we may wish to expose it in the future.
@changelog-app
Copy link

changelog-app bot commented Apr 21, 2021

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Dialogue uses standard tracing tags

Check the box to generate changelog(s)

  • Generate changelog entry

@@ -57,7 +59,7 @@
sink.tag(target, tags);
int status = response.code();
sink.tag(target, "outcome", status / 100 == 2 ? "success" : "failure");
sink.tag(target, "status", Integer.toString(status));
sink.tag(target, TraceTags.HTTP_STATUS_CODE, Integer.toString(status));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could probably also centralize the int -> String for status codes? I think you have that multi-if-statement in abunch of places.

@bulldozer-bot bulldozer-bot bot merged commit 7761250 into develop Apr 21, 2021
@bulldozer-bot bulldozer-bot bot deleted the ckozak/dialogue_tags branch April 21, 2021 13:36
@svc-autorelease
Copy link
Collaborator

Released 1.118.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants